<template>
  <div>
    <div class="block ml10 mb20 mt20">
      <span class="demonstration">时间范围</span>
      <el-date-picker
        v-model="value1"
        type="datetimerange"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        :default-time="['12:00:00']"
      >
      </el-date-picker>
      <el-button type="primary" class="ml20">查询</el-button>
    </div>
    
  </div>
</template>

<script>
export default {
  data() {
    return {
      value1: "",
      value2: "",
    };
  },
};
</script>

<style lang="less" scoped>

.mt20 {
  margin-top: 20px;
}
.ml20 {
  margin-left: 20px;
}

.ml10 {
  margin-left: 10px;
}
.mb20 {
  margin-bottom: 20px;
}

.demonstration {
  margin-right: 10px;
  font-size: 14px;
  color: #606266;
}
</style>